import screenFull from "screenfull";

export function fullScreen(id) {
    let element = document.getElementById(id)
    if (screenFull.isEnabled) {
        screenFull.request(element).then(r => {
        })
    }
    screenFull.toggle().then(r => {
    })
}